package com.itheima.day04Dome01;

public class D03 {
    public static void main(String[] args) {

                String s = "积分看电视了几分我特朗普将反恐文件风IE哦特朗普积分哦忘记特朗普";
        String[] arr = {"特朗普", "反恐"};
        for (int i = 0; i < arr.length; i++) {
            s = s.replace(arr[i], "*");
        }

        System.out.println(s);

    }
}
